#define _CRT_SECURE_NO_WARNINGS 2
#include<iostream>

using namespace std;

 void test()
{
	 int a = 5, b = 10;
	 //a = a + b; b = a - b; a = a - b;
	 //a = a ^ b; b = a ^ b; a = a ^ b;
	 //a = a | b; b = a & b; a = b & a;
	 a = a & b; b = a | b; a = a | b;
	 cout << a << endl << b << endl;
}

int main()
{
	 test();
	 return 0;
}